@media (min-width:320px) { /* smartphones, iPhone, portrait 480x320 phones */ }
@media (min-width:481px) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ }
@media (min-width:641px) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ }
@media (min-width:961px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { 
  
  .toc {
    position: fixed;
    overflow-y: auto;
    height: 100%;
  }
}

#title-center {
  text-align: center
}

#manual-content {
  right: 0;
}

.toc-active {
  color: #000;
  font-weight: bold;
  display:block !important;
}

.toc a {
  color: #333;
}
.toc .toc-h2 {
  margin-left: 0em;
}
.toc .toc-h3 {
  margin-left: 1.5em;
  /*display:none;*/
}
.toc .toc-h4 {
  margin-left: 3em;
  /*display:none;*/
}


.toc.right {
  right: 0